//
//  MineOrderHeaderView.h
//  B2C
//
//  Created by 李小龙 on 2017/7/31.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^HeaderClick)(NSInteger tag);
@interface MineOrderHeaderView : UIView

@property (nonatomic, copy) NSArray *titleArray;
@property (nonatomic, copy) HeaderClick block;
@property (nonatomic, assign) NSInteger selectIndex;

- (instancetype)initWithFrame:(CGRect)frame titleArray:(NSArray *)titleArray selectIndex:(NSInteger)selectIndex;

- (void)updateWith:(NSArray *)titleArray;

@end
